#include <itkImage.h>
#include "itkImageFileReader.h"
#include "itkImageFileWriter.h"

#include<iostream>

/*
void main(int argc, char* argv)
{
	typedef unsigned short PixelType;
	//typedef unsigned char PixelType;
	typedef itk::Image<PixelType, 2> ImageType;
	typedef itk::ImageFileReader<ImageType> Reader;
	typedef itk::ImageFileWriter<ImageType> Writer;

	Reader::Pointer reader = Reader::New();
	Writer::Pointer writer = Writer::New();

	reader->ReleaseDataFlagOn();
	writer->SetInput(reader->GetOutput());

	reader->SetFileName("C:\\test\\tiffupdatetest\\Nr1-1 p53.tif");
	writer->SetFileName("C:\\test\\tiffupdatetest\\output.png");


	writer->Write();
	writer->Update();

	reader->UpdateLargestPossibleRegion();
}



*/